package com.shimao.celnet.payment.model;

import java.time.LocalDate;
import java.time.LocalTime;

/**
 * @Author: MattChen
 * @Description:
 * @Date: 16:47 2019/5/21
 * @ModifiedBy:
 */
public class Bill {
//    商户号
    private String custId;
//    门店名称
    private String shopName;

    @Override
    public String toString() {
        return "Bill{" +
                "custId='" + custId + '\'' +
                ", shopName='" + shopName + '\'' +
                ", terminalId='" + terminalId + '\'' +
                ", transactionTime='" + transactionTime + '\'' +
                ", transactionType='" + transactionType + '\'' +
                ", transactionNum='" + transactionNum + '\'' +
                ", voucherNum='" + voucherNum + '\'' +
                ", referenceNum='" + referenceNum + '\'' +
                ", cardNum='" + cardNum + '\'' +
                ", cardType='" + cardType + '\'' +
                ", bankCode='" + bankCode + '\'' +
                ", bankName='" + bankName + '\'' +
                ", money='" + money + '\'' +
                ", serviceCharge='" + serviceCharge + '\'' +
                ", transactionDate='" + transactionDate + '\'' +
                ", trxId='" + trxId + '\'' +
                ", paymentId='" + paymentId + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", appId='" + appId + '\'' +
                ", originalMoney='" + originalMoney + '\'' +
                ", payMoney='" + payMoney + '\'' +
                ", productType='" + productType + '\'' +
                '}';
    }

    //    终端编号
    private String terminalId;

    public LocalTime getTransactionTime() {
        return transactionTime;
    }

    public void setTransactionTime(LocalTime transactionTime) {
        this.transactionTime = transactionTime;
    }

    public LocalDate getTransactionDate() {
        return transactionDate;
    }

    public void setTransactionDate(LocalDate transactionDate) {
        this.transactionDate = transactionDate;
    }

    //    交易时间
    private LocalTime transactionTime;
//    交易类型
    private String transactionType;
//    交易编号
    private String transactionNum;
//    交易批次
    private String voucherNum;
//    凭证号
    private String referenceNum;
//    卡号
    private String cardNum;
//    卡类别
    private String cardType;
//    发卡行代码
    private String bankCode;

    public String getCustId() {
        return custId;
    }

    public void setCustId(String custId) {
        this.custId = custId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getTerminalId() {
        return terminalId;
    }

    public void setTerminalId(String terminalId) {
        this.terminalId = terminalId;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public String getTransactionNum() {
        return transactionNum;
    }

    public void setTransactionNum(String transactionNum) {
        this.transactionNum = transactionNum;
    }

    public String getVoucherNum() {
        return voucherNum;
    }

    public void setVoucherNum(String voucherNum) {
        this.voucherNum = voucherNum;
    }

    public String getReferenceNum() {
        return referenceNum;
    }

    public void setReferenceNum(String referenceNum) {
        this.referenceNum = referenceNum;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getTrxId() {
        return trxId;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Integer getServiceCharge() {
        return serviceCharge;
    }

    public void setServiceCharge(Integer serviceCharge) {
        this.serviceCharge = serviceCharge;
    }

    public Integer getOriginalMoney() {
        return originalMoney;
    }

    public void setOriginalMoney(Integer originalMoney) {
        this.originalMoney = originalMoney;
    }

    public Integer getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(Integer payMoney) {
        this.payMoney = payMoney;
    }

    public void setTrxId(String trxId) {
        this.trxId = trxId;
    }

    public String getPaymentId() {
        return paymentId;
    }

    public void setPaymentId(String paymentId) {
        this.paymentId = paymentId;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    //    发卡行名称
    private String bankName;
//    交易金额
    private Integer money;
//    手续费
    private Integer serviceCharge;
//    交易日期
    private LocalDate transactionDate;
//    订单编号（流水号）
    private String trxId;
//    订单号
    private String paymentId;
//    商户备注（more+为手机号码）
    private String phoneNum;
//    应用Id
    private String appId;
//    原始金额
    private Integer originalMoney;
//    结算金额
    private Integer payMoney;
//    产品类别
    private String productType;
}
